#第一次作业
#coding=utf-8

num_list = [22, 5, 4, 9, 56, 44]


def print_max(lists):
	"""取出最大值"""
	temp = lists[0]
	for number in lists:
		if temp < number:
			temp = number
		else:
			continue
	print("The max number is: ", temp)


def print_min(lists):
	"""取出最小值"""
	temp = lists[0]
	for number in lists:
		if temp > number:
			temp = number
		else:
			continue
	print("The min number is: ", temp)

print_max(num_list)
print_min(num_list)
